package com.hl.pojo;

import java.util.HashSet;
import java.util.Set;

@SuppressWarnings("all")
public class DeptHeadship implements java.io.Serializable {

	// Fields

	private Integer deptHeadshipId;
	private Org org;
	private Department department;
	private HeadshipDict headshipDict;
	private Set employeeHeadships = new HashSet(0);

	// Constructors

	/** default constructor */
	public DeptHeadship() {
	}

	/** minimal constructor */
	public DeptHeadship(Org org, Department department, HeadshipDict headshipDict) {
		this.org = org;
		this.department = department;
		this.headshipDict = headshipDict;
	}

	/** full constructor */
	public DeptHeadship(Org org, Department department, HeadshipDict headshipDict, Set employeeHeadships) {
		this.org = org;
		this.department = department;
		this.headshipDict = headshipDict;
		this.employeeHeadships = employeeHeadships;
	}

	// Property accessors

	public Integer getDeptHeadshipId() {
		return this.deptHeadshipId;
	}

	public void setDeptHeadshipId(Integer deptHeadshipId) {
		this.deptHeadshipId = deptHeadshipId;
	}

	public Org getOrg() {
		return this.org;
	}

	public void setOrg(Org org) {
		this.org = org;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public HeadshipDict getHeadshipDict() {
		return this.headshipDict;
	}

	public void setHeadshipDict(HeadshipDict headshipDict) {
		this.headshipDict = headshipDict;
	}

	public Set getEmployeeHeadships() {
		return this.employeeHeadships;
	}

	public void setEmployeeHeadships(Set employeeHeadships) {
		this.employeeHeadships = employeeHeadships;
	}

}